home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / bmac / bmac.std < prev    next >
Text File  |  1987-04-27  |  3KB  |  153 lines

  1. .\"    @(#)bmac.std    2.6    4/27/87;
  2. .\" standard format troff commands
  3. .\" citation formatting strings
  4. .ds [[ [
  5. .ds ]] ]
  6. .ds ], ,\|
  7. .ds ]- -
  8. .ds [. " \&
  9. .ds .] .
  10. .ds [, " \&
  11. .ds ,] ,
  12. .ds [? " \&
  13. .ds ?] ?
  14. .ds [: " \&
  15. .ds :] :
  16. .ds [; " \&
  17. .ds ;] ;
  18. .ds [! " \&
  19. .ds !] !
  20. .ds [" " \&
  21. .ds "] \&"
  22. .ds [' " \&
  23. .ds '] '
  24. .ds [< " \&
  25. .ds >]
  26. .\" reference formmating strings
  27. .ds a] " \&
  28. .ds b] , \&
  29. .ds c] , \&
  30. .ds n] "\& and \&
  31. .ds m] "\& and \&
  32. .ds e] \\fIet al.\\fP
  33. .ds p] .
  34. .\" reference formmating macros
  35. .de s[   \" start reference
  36. .nh
  37. .IP "[\\*([F]" 5m
  38. ..
  39. .de e[   \" end reference
  40. .[-
  41. ..
  42. .de []   \" start to display collected references
  43. .LP
  44. ..
  45. .de ][   \" choose format
  46. .ie !"\\*([J"" \{\
  47. .    ie !"\\*([V"" .nr t[ 1    \" journal
  48. .    el            .nr t[ 5    \" conference paper
  49. .\}
  50. .el .ie !"\\*([B"" .nr t[ 3    \" article in book
  51. .el .ie !"\\*([R"" .nr t[ 4    \" technical report
  52. .el .ie !"\\*([I"" .nr t[ 2    \" book
  53. .el                .nr t[ 0    \" other
  54. .\\n(t[[
  55. ..
  56. .de 0[   \" other
  57. .s[
  58. .if !"\\*([A"" \\*([A\\c
  59. .if !"\\*([T"" , \\*([T\\c
  60. .if !"\\*([V"" , Vol. \\*([V\\c
  61. .if !"\\*([O"" , \\*([O\\c
  62. .if !"\\*([D"" , \\*([D\\c
  63. \&.
  64. .e[
  65. ..
  66. .de 1[ \" journal article
  67. .s[
  68. .if !"\\*([A"" \\*([A,
  69. .if !"\\*([T""  \\*(lq\\*([T\\*(rq,
  70. \\fI\\*([J \\*([V\\fP\c
  71. .ie !"\\*([N"" , \\*([N
  72. .el  
  73. .if !"\\*([D"" (\\*([D)\c
  74. .if !"\\*([P"" , \\*([P\c
  75. .if !"\\*([I"" , \\*([I\c
  76. \\&.
  77. .if !"\\*([O"" \\*([O.
  78. .e[
  79. ..
  80. .de 2[ \" book
  81. .s[
  82. .ie !"\\*([A"" \\*([A,
  83. .el .if !"\\*([E"" \{\
  84. .       ie \\n([E-1 \\*([E, eds.,
  85. .       el \\*([E, ed.,\}
  86. .if !"\\*([T"" \\fI\\*([T\\fP,
  87. .rm a[
  88. .if !"\\*([I"" .ds a[ \\*([I
  89. .if !"\\*([C"" \{\
  90. .       if !"\\*(a["" .as a[ , \\&
  91. .       as a[ \\*([C\}
  92. .if !"\\*([D"" \{\
  93. .       if !"\\*(a["" .as a[ , \\&
  94. .       as a[ \\*([D\}
  95. \\*(a[.
  96. .if !"\\*([G"" Gov. ordering no. \\*([G.
  97. .if !"\\*([O"" \\*([O.
  98. .e[
  99. ..
  100. .de 3[ \" article in book
  101. .s[
  102. .if !"\\*([A"" \\*([A,
  103. .if !"\\*([T"" \\*(lq\\*([T\\*(rq,
  104. in \\fI\\*([B\\fP\c
  105. .if !"\\*([V"" , vol. \\*([V
  106. .if !~\\*([E~~ \{\
  107. .       ie , \\n([E-1  \\*([E (editors)\c
  108. .       el , \\*([E (editor)\c\}
  109. .if !"\\*([I"" , \\*([I\c
  110. .if !"\\*([C"" , \\*([C\c
  111. .if !"\\*([D"" , \\*([D\c
  112. .if !"\\*([P"" , \\*([P\c
  113. \\&.
  114. .if !"\\*([O"" \\*([O.
  115. .e[
  116. ..
  117. .de 4[ \" report
  118. .s[
  119. .if !"\\*([A"" \\*([A,
  120. .if !~\\*([E~~ \{\
  121. .       ie \\n([E-1 \\*([E, editors.
  122. .       el \\*([E, editor.\}
  123. \&\\*(lq\\*([T\\*(rq,
  124. \\*([R\c
  125. .if !"\\*([G"" \& (\\*([G)\c
  126. .if !"\\*([I"" , \\*([I\c
  127. .if !"\\*([C"" , \\*([C\c
  128. .if !"\\*([D"" , \\*([D\c
  129. \\&.
  130. .if !"\\*([O"" \\*([O.
  131. .e[
  132. ..
  133. .de 5[ \" conference paper
  134. .s[
  135. .if !"\\*([A"" \\*([A,
  136. .if !"\\*([T"" \\*(lq\\*([T\\*(rq,
  137. \\fI\\*([J\\fP,
  138. .if !"\\*([C"" \\*([C,
  139. .if !"\\*([D"" \\*([D\c
  140. .if !"\\*([P"" , \\*([P\c
  141. \\&.
  142. .if !"\\*([O"" \\*([O.
  143. .e[
  144. ..
  145. .de [-   \" clean up after yourself
  146. .rm [A [B [C [D
  147. .rm [E [F [G
  148. .rm [I [J [K
  149. .rm [N [O [P
  150. .rm [R [T
  151. .rm [V [W
  152. ..
  153.